<template>
	<view class=" smTitle">
		<view type="default" class="bar" @click="editIt">
			
			{{name}}
		</view>
		
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	
	props:{
		name:{
			type:String
		}
	},

	methods: {
		editIt(){
			this.$emit('editIt',this.name);
		}
	}
};
</script>

<style scoped lang="less">
	.bar{
		width: 684upx;
		height: 104upx;
		border-bottom: 2upx solid #E5E5E5;
		// font-weight: bold;
		text-align: center;
		line-height:104upx ;
		background: #FFFFFF;
		border-radius: 0;
		opacity: 1;
		margin:0upx auto;
	}
</style>
